package com.it.stone_manage.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
//进出货记录或库存实体类
@Data
public class StoneRecord {
    private Integer id;
    private String name;
    private String standards;
    private String gloss;
    private String type;
    private String storehouse;
    private Integer record;
    //[{key: "进货记录", value: 0}, {key: '出货记录', value: 1},{key: '流水记录', value: 2}, {key: '库存记录', value: 3}]
    private Integer recordType;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date date;

}
